package com.tb.tbv1productservice.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.tb.v1.api.shoop.ISpUserService;
import com.tb.v1.common.base.BaseServiceImpl;
import com.tb.v1.common.base.IBaseDao;
import com.tb.v1.entity.SpUser;
import com.tb.v1.mapper.SpUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author: tangBin
 * @Date: 2020/7/10 0010 16:14
 * @Description:
 */
@Service
public class SpUserService extends BaseServiceImpl<SpUser> implements ISpUserService {

    @Autowired
    private SpUserMapper spUserMapper;

    @Override
    public IBaseDao<SpUser> getBaseDao() {
        return spUserMapper;
    }

    @Override
    public SpUser getUser(Map map) {
        return spUserMapper.getUser(map);
    }


}
